import mainIndex from "@/components/mainIndex";
const reception = {
  path: "/system/roleManage",
  name: "roleManageBase",
  component: mainIndex,
  meta: {
    title: "角色管理"
  },
  children: [
    {
      path: "/system/roleManage",
      component: () => import("@/components/page_view/system/roleManage"),
      name: "roleManage",
      meta: {
        title: "角色管理",
        pCode: "system"
      }
    },
    {
      path: "/system/roleManage/addRole",
      component: () =>
        import("@/components/page_view/system/roleManage/modules/roleForm"),
      name: "addRole",
      meta: {
        title: "新建角色",
        pname: "roleManageBase",
        pCode: "system:roleManage"
      }
    },
    {
      path: "/system/roleManage/editRole/:roleId",
      component: () =>
        import("@/components/page_view/system/roleManage/modules/roleForm"),
      name: "editRole",
      meta: {
        title: "修改角色",
        pname: "roleManageBase",
        pCode: "system:roleManage"
      }
    }
  ]
};
export default reception;
